package spring.cloud.tasks.tasks_manager.service;

import spring.cloud.tasks.tasks_manager.domain.NameSpaceConfiguration;
import spring.cloud.tasks.tasks_manager.domain.ZooKeeperCluster;
import spring.cloud.tasks.tasks_manager.exception.ConsoleException;
import spring.cloud.tasks.tasks_manager.zookeeper.ZooKeeper;

import java.util.List;

public interface ZooKeeperService {

    void notifyRefresh() throws ConsoleException;


    NameSpaceConfiguration findConfigByNameSpace(String namespace);


    List<ZooKeeperCluster> getZooKeeperClusterList();


    ZooKeeper getZooKeeper(String namespace) throws ConsoleException;

}
